package com.qmo.edu.base;

import io.reactivex.ObservableTransformer;

/**
 * Created by ${} on 2019/4/8/008.
 *
 * @author cyx
 */
public interface IBaseView  {
    /**
     * 用来 绑定view 生命周期，解决rxjava内存泄露
     *
     */
    <T> ObservableTransformer<T, T> bindLifeycle();

    void showLoading();

    void hideLoading();

}
